
using ConfClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UtilLib;
using static ConfClient.Conf;

public static partial class Zsc
{
    public static int Clamp(int value, int min, int max)
    {
        if (value < min)
        {
            return min;
        }
        if (value > max)
        {
            return max;
        }
        return value;
    }
}
